package com.service;

import com.model.AuthGroup;
import com.model.Manager;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName: AuthGroupService
 * @Description: 权限管理分组（角色管理）服务层
 * @author 陈靖
 * @date 2017-1-17 上午11:47:17
 */
@Service
public interface AuthGroupService {
	// 获取管理权限分组列表
	public List<AuthGroup> getAuthGroupList();

	// 新增管理权限分组
	public int insertAuthGroup(AuthGroup authGroup);

	// 删除管理权限分组
	public int deleteAuthGroup(AuthGroup authGroup);

	// 修改管理权限规则
	public int modifyAuthGroupRules(AuthGroup authGroup);

	public List<AuthGroup> getRulesbyuid(Manager manager);


}
